/*
 * @(#)MtmWorkflowStepPriorityRule.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
 * MtmWorkflowStepPriorityRule.java
 * 
 * This class is the serializable bean reflecting business logic uses.
 * It represents a priority escalation rule of a workflow step. For examples, a
 * rule to escalate the priority by one level after task arrived for 5 minutes
 * may have following values for the properties,
 * <pre>
 * escalateTrigger = {@link com.dcivision.workflow.bean.MtmWorkflowProgressPriorityRule#AFTER_TASK_ARRIVED}
 * escalateAtField = {@link java.util.Calendar#MINUTE}
 * escalateAtAmt = 5 (task arrived for 5 mintues)
 * escalateLevel = 1 (rise the priority by one level)
 * escalateAckMethod = {@link com.dcivision.alert.bean.UpdateAlert#EMAIL_NOTIFICATION},{@link com.dcivision.alert.bean.UpdateAlert#SYSTEM_NOTIFICATION}
 * </pre>
 * @author Tony Chen
 * @company DCIVision Limited
 * @creation date 23/11/2004
 * @version $Revision: 1.3 $
 * @see MtmWorkflowProgressPriorityRule
 */
public class MtmWorkflowStepPriorityRule extends AbstractBaseObject {
  
  public static final String REVISION = "$Revision: 1.3 $";
  static final long serialVersionUID = 4071648097537373693L;
  
  private Integer workflowStepID = null;
  private String escalateTrigger = null;
  private Integer escalateAtField = null;
  private Integer escalateAtAmt = null;
  private Integer escalateLevel = null;
  private String escalateAckMethod = null;
  
  public MtmWorkflowStepPriorityRule() {
    super();
  }
  /**
   * @return Returns the workflowStepID.
   */
  public Integer getWorkflowStepID() { 
    return(this.workflowStepID);
  }
  /**
   * @param workflowStepID The workflowStepID to set.
   */
  public void setWorkflowStepID(Integer workflowStepID) { 
    this.workflowStepID = workflowStepID;
  }
  /**
   * @return Returns the escalateTrigger.
   */
  public String getEscalateTrigger() { 
    return(this.escalateTrigger);
  }
  /**
   * @param escalateTrigger The escalateTrigger to set.
   */
  public void setEscalateTrigger(String escalateTrigger) { 
    this.escalateTrigger = escalateTrigger;
  }
  /**
   * @return Returns the escalateAtField.
   */
  public Integer getEscalateAtField() { 
    return(this.escalateAtField);
  }
  /**
   * @param escalateAtField The escalateAtField to set.
   */
  public void setEscalateAtField(Integer escalateAtField) { 
    this.escalateAtField = escalateAtField;
  }
  /**
   * @return Returns the escalateAtAmt.
   */
  public Integer getEscalateAtAmt() { 
    return(this.escalateAtAmt);
  }
  /**
   * @param escalateAtAmt The escalateAtAmt to set.
   */
  public void setEscalateAtAmt(Integer escalateAtAmt) { 
    this.escalateAtAmt = escalateAtAmt;
  }
  /**
   * @return Returns the escalateLevel.
   */
  public Integer getEscalateLevel() { 
    return(this.escalateLevel);
  }
  /**
   * @param escalateLevel The escalateLevel to set.
   */
  public void setEscalateLevel(Integer escalateLevel) { 
    this.escalateLevel = escalateLevel;
  }
  /**
   * @return Returns the escalateAckMethod.
   */
  public String getEscalateAckMethod() { 
    return(this.escalateAckMethod);
  }
  /**
   * @param escalateAckMethod The escalateAckMethod to set.
   */
  public void setEscalateAckMethod(String escalateAckMethod) { 
    this.escalateAckMethod = escalateAckMethod;
  }
}
